package com.hmy.finance.api.bo.core.response;

import lombok.Data;

/**
 * 合同退场停止流水和冲抵响应
 *
 * @author songkf
 */
@Data
public class ContractTerminationStopFlowAndOffsetResponse implements java.io.Serializable {

    private static final long serialVersionUID = -2432415769332506277L;

    /**
     * 结果
     */
    private Boolean result;

    public static ContractTerminationStopFlowAndOffsetResponse fail() {
        ContractTerminationStopFlowAndOffsetResponse response = new ContractTerminationStopFlowAndOffsetResponse();
        response.setResult(false);
        return response;
    }

    public static ContractTerminationStopFlowAndOffsetResponse success() {
        ContractTerminationStopFlowAndOffsetResponse response = new ContractTerminationStopFlowAndOffsetResponse();
        response.setResult(true);
        return response;
    }
}
